package com.flash.GlobalManagement.mapper;

import com.flash.GlobalManagement.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 类的描述：登录权限验证
 * @author Liy
 * @version 1.0
 * @since 2022/7/14
 */
@Mapper
@Repository
public interface LoginMapper {
    public int login(String userName,String userPas);

    public List<Menu> loadLogin();

    public int countUser();


}
